package com.example.pkmedical.Activity.servicecode;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextClock;
import android.widget.TextView;

import com.example.pkmedical.APP.MyApp;
import com.example.pkmedical.Base.BaseActivity;
import com.example.pkmedical.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class InputCodeNextActivity extends BaseActivity {

    @BindView(R.id.top_view)
    View topView;
    @BindView(R.id.main_house)
    ImageView mainHouse;
    @BindView(R.id.top_icon_layout)
    RelativeLayout topIconLayout;
    @BindView(R.id.main_house_text)
    TextView mainHouseText;
    @BindView(R.id.main_date)
    TextClock mainDate;
    @BindView(R.id.main_topbar)
    RelativeLayout mainTopbar;
    @BindView(R.id.inputnext_ctbd)
    RelativeLayout inputnextCtbd;
    @BindView(R.id.inputnext_czrz)
    RelativeLayout inputnextCzrz;
    @BindView(R.id.inputnext_back)
    Button inputnextBack;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_inputcodenext);
        ButterKnife.bind(this);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {
        mainHouse.setImageResource(R.drawable.img_title_sz);
        mainHouseText.setText(R.string.setting_service_code_bt);
    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void showDialog(String... msg) {

    }

    @OnClick({R.id.inputnext_ctbd, R.id.inputnext_czrz, R.id.inputnext_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.inputnext_ctbd:
                startActivity(new Intent(MyApp.getAppContext(), BedCalibrationActivity.class));
//                InputCodeNextActivity.this.finish();
//                overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
                break;
            case R.id.inputnext_czrz:

                break;
            case R.id.inputnext_back:
                InputCodeNextActivity.this.finish();
                break;
        }
    }
}
